<template>
  <div>
    <svg :width :height>
      <use :xlink:href="`#icon-${name}`" :fill="color"></use>
    </svg>
  </div>
</template>
<script setup lang="ts">
defineProps({
  name: String,
  color: {
    type: String,
    default: '#333'
  },
  width: {
    type: String,
    default: '30px'
  },
  height: {
    type: String,
    default: '30px'
  },
})
</script>
<style scoped></style>
